package tool;
import static tool.print.*;
/**
 * 抽象类 sort - 在这里给出对这个类的描述
 * 
 * @作者: 
 * 日期: 
 */
public abstract class Sort
{
    abstract public int[] sort();
    
    protected
        int[] arr;
        void swap(int x , int y)
        {
            pln(arr[x] + " "+arr[y]);
            int temp = arr[x];
            arr[x] = arr[y];
            arr[y] = temp;
            System.out.println(arr[x]+" "+arr[y]);
        }
        
    public static void main()
    {
        int[] a = {2,6,4,8,1,3,0};
        bubble bu = new bubble(a);
        pln(bu.sort());
    }
}
